package com.yfj.dao;

import java.util.List;

import com.yfj.entity.Course;
import com.yfj.entity.People;
import com.yfj.entity.Student;
import com.yfj.entity.Teacher;

public interface TeacherDao {
	
	//登录时的查询
	People loginQuery(long id);
	
	//添加教师,测试用
	void addTeacher(Teacher t);
	
	//获取该教师Id的所有课程
	List<Course> getCourseListByTeacherId(Long teaacherId);

	//查询某课程下的所有学生
	List<Student> getStudentByCourseId(Long courseId);
}
